﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataAchive.Model
{

    [Table("ng")]
    public class M_AChiveNG
    {
        private long? _id;
        [Key]
        [Column("id")]
        public long? ID { get { return _id; } set { _id = value; } }

        private string _lotid;
        [Column("lotid")]
        public string Lot_Id { get { return _lotid; } set { _lotid = value; } }


        private string _info;
        [Column("info")]
        public string Info { get { return _info; } set { _info = value; } }

        private string _image;
        [Column("image")]
        public string Image { get { return _image; } set { _image = value; } }

        private int? _checked;
        [Column("_checked")]
        public int? Checked { get { return _checked; } set { _checked = value; } }

        private DateTime? _date;
        [Column("date")]
        public DateTime? Date { get { return _date; } set { _date = value; } }

        private int? _type;
        [Column("type")]
        public int? Type { get { return _type; } set { _type = value; } }

        private string _aiinfo;
        [Column("aiinfo")]
        public string AI_Info { get { return _aiinfo; } set { _aiinfo = value; } }

        private long? _site_id;
        [Column("site_id")]
        public long? Site_Id { get { return _site_id; } set { _site_id = value; } }

        private DateTime? _finishtime;
        [Column("finishtime")]
        public DateTime? Finish_Time { get { return _finishtime; } set { _finishtime = value; } }

        private string _airesult;
        [Column("airesult")]
        public string AI_Result { get { return _airesult; } set { _airesult = value; } }

        private string _manualresult;
        [Column("manualresult")]
        public string Manua_Result { get { return _manualresult; } set { _manualresult = value; } }

        private int? _mes_check;
        [Column("mes_check")]
        public int? Mes_Check { get { return _mes_check; } set { _mes_check = value; } }

        //是否超时数据 新增
        [Column("Is_Timeout")]
        public bool? Is_Timeout { get; set; }
        //"超时条码判定。1:NG,2:OK,3:AI结果,4:不分类"  新增
        [Column("TimeoutClassify")]
        public int? TimeoutClassify { get; set; }

        ////新增
        //[Column("Productmodel")]
        //public int Productmodel { get; set; }
        //[Column("Windowtype")]
        ////新增
        //public string Windowtype { get; set; }

        //待新增

    }
}
